import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";

@Entity("notices")
export class Notice {

    @PrimaryGeneratedColumn()
    id: number;

    @Column()
    content: string;

    @Column()
    time: string;

    @Column()
    created_at: string;

    @Column()
    updated_at: string;
}
